﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Colaboradores.Models.Cls_Depto>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Alterar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Alterar</h2>

    <% using (Html.BeginForm()) {%>
        
        <fieldset>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Cod) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Cod, new {disabled=true}) %>
                <%: Html.ValidationMessageFor(model => model.Cod) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Dsc) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Dsc) %>
                <%: Html.ValidationMessageFor(model => model.Dsc) %>
            </div>
            
            <p>
                <input type="submit" value="Alterar" />
            </p>
        </fieldset>

    <% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FooterContent" runat="server">
    <%: Html.ActionLink("Voltar para Departamento", "Index") %>
</asp:Content>

